package com.infoland.afanmall.base.dialog;

import android.content.Context;
import android.view.View;
import android.widget.Button;

import com.infoland.afanmall.R;
import com.infoland.afanmall.base.util.ToolsKit;
import com.vondear.rxtools.view.dialog.RxDialog;

import org.angmarch.views.NiceSpinner;

/**
 *
 */
public class OpenTuiKuanDialog extends RxDialog {
    private Button tui_kuan_bt1;
    private Button tui_kuan_bt2;
    private NiceSpinner niceSpinner;

    private void initView() {
        View dialogView = ToolsKit.getView(R.layout.open_tui_kuan);
        tui_kuan_bt1 = dialogView.findViewById(R.id.tui_kuan_bt1);
        tui_kuan_bt2 = dialogView.findViewById(R.id.tui_kuan_bt2);
        niceSpinner = dialogView.findViewById(R.id.tui_kuan_spinner);
        setContentView(dialogView);
    }

    public OpenTuiKuanDialog(Context context, int themeResId) {
        super(context, themeResId);
        initView();
    }

    public OpenTuiKuanDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        initView();

    }

    public OpenTuiKuanDialog(Context context) {
        super(context);
        initView();

    }

    public OpenTuiKuanDialog(Context context, float alpha, int gravity) {
        super(context, alpha, gravity);
        initView();

    }

    public Button getTui_kuan_bt1() {
        return tui_kuan_bt1;
    }

    public void setTui_kuan_bt1(Button tui_kuan_bt1) {
        this.tui_kuan_bt1 = tui_kuan_bt1;
    }

    public Button getTui_kuan_bt2() {
        return tui_kuan_bt2;
    }

    public void setTui_kuan_bt2(Button tui_kuan_bt2) {
        this.tui_kuan_bt2 = tui_kuan_bt2;
    }


    public NiceSpinner getNiceSpinner() {
        return niceSpinner;
    }

    public void setNiceSpinner(NiceSpinner niceSpinner) {
        this.niceSpinner = niceSpinner;
    }
}
